package com.ming.transaction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈仕健
 * @since 2023-05-11
 */

@Data
@TableName("tt_goods")
@ApiModel(value = "Goods对象", description = "")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品图片")
    private String icon;

    @ApiModelProperty("商品名称")
    private String gname;

    @ApiModelProperty("发布者账号")
    private String unumber;

    @ApiModelProperty("物品分类")
    private String classly;

    @ApiModelProperty("商品价格")
    private Float price;

    @ApiModelProperty("商品状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("商品数量")
    private Integer gnum;

}
